package cn.cqone.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CustomerTraceHistory extends BaseDomain{

   //客户
   private Customer customer_id;
   //跟进人
   private Employee traceUser_id;
   //跟进时间
   private Date traceTime;
   //跟进方式
   private DictoryDetails traceType_id;
   //跟进效果(0优 1良 2差)
   private Integer traceResult;
   //跟进主题
   private String title;
   //备注
   private String remark;
   //所属租户
   private Tenant tenant_id;

   @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
   public Date getTraceTime() {
      return traceTime;
   }
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   public void setTraceTime(Date traceTime) {
      this.traceTime = traceTime;
   }
}
